package org.dromara.tearoom.api;


import org.dromara.tearoom.api.domain.vo.RemoteCoupVo;
import org.dromara.tearoom.api.domain.vo.RemoteHtlOrderVo;

import java.util.List;

/**
 * 优惠劵 API服务
 */
public interface RemoteCouponService {

    /**
     * 作废优惠劵
     */
    void expireCoupon();

    RemoteHtlOrderVo calculatePrice(RemoteHtlOrderVo orderVo);
    List<RemoteCoupVo> queryCoupList(Long userId ,Integer totalPrice);
}
